<?php
/**
 *
 * PHP 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       Cake.View.Layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */

$cakeDescription = __d('cake_dev', 'General Internacional');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php echo $cakeDescription ?>:
		<?php echo $title_for_layout; ?>
	</title>
	<?php
		echo $this->Html->meta('icon');

		//echo $this->Html->css('cake.generic');

		echo $this->fetch('meta');
//		echo $this->Html->css(array('style', '1col','2col','main-ie6','main','reset','validation'));
		
//		echo $this->Html->script(array('jquery','switcher','toggle','ui.core','ui.tabs','validation','languages/es'));
		
		echo $this->Html->css(array('style', '1col','2col','main-ie6','main','reset','validation', 'buttons', 'forms','remond/jquery.ui.core','remond/jquery.ui.all','datatable.css'));
		
		echo $this->Html->script(
        array(
        'jquery', 
        'ui/jquery.ui.datepicker.min',
        'switcher',
        'toggle',
        'jquery-ui',
        'ui.tabs',
        'validation',
        'languages/es', 
        'jquery.sheepItPlugin-1.0.0.min',
        'ui/i18n/jquery.ui.datepicker-es',
        'print',
        'jquery.calculation',
        'dataTables'
        ));	?>
		
		
		

		<script type="text/javascript">
			$(document).ready(function(){
			$(".tabs > ul").tabs();
			});
		</script>
    <script type="text/javascript" charset="utf-8">
      $(document).ready(function() {
        $('#data-table').dataTable();
      } );
    </script>
</head>
<body>
<div id="main"> 
      
      <!-- Tray -->
      <div id="tray" class="box">
    <p class="f-left box"> 
          
          <!-- Switcher --> 
          <span class="f-left" id="switcher"> <a href="#" rel="1col" class="styleswitch ico-col1" title="Display one column"><?php echo $this->Html->image('switcher-1col.gif', array('alt' => 'logo'))?></a> <a href="#" rel="2col" class="styleswitch ico-col2" title="Display two columns"><?php echo $this->Html->image('switcher-2col.gif', array('alt' => 'logo'))?></a> </span> <strong>SISTEMA DE CONTROL E INVENTARIO "GENERAL INTERNACIONAL"</strong> </p>
    <p class="f-right">Usuario: <strong><a href="#"><?php echo $this->Session->read('nombre');?></a></strong> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong><a href="http://www.generalinternacional.net/Inicio/salir" id="logout">Cerrar Sesion</a></strong></p>
  </div>
      <!--  /tray -->
      
      <hr class="noscreen" />
      
      <!-- Menu -->
      <div id="menu" class="box">
    <ul class="box">
    		<?php $url='http://www.generalinternacional.net';?>
          <li id="menu-active"><a href="#"><span>Inicio</span></a></li>
          <li><a href="<?php echo $url;?>/Clientes/index"><span>Clientes</span></a></li>
          <li><a href="<?php echo $url;?>/Trabajos/index"><span>Trabajos</span></a></li>
          <li><a href="<?php echo $url;?>/Maquinarias/index"><span>Maquinarias</span></a></li>
          <li><a href="<?php echo $url;?>/Productos/"><span>Productos</span></a></li>
          <li><a href="<?php echo $url;?>/Inventarios/"><span>Inventario</span></a></li>
          <li><a href="<?php echo $url;?>/Empleados/index"><span>Empleados</span></a></li>
          <li><a href="<?php echo $url;?>/Usuarios/index"><span>Usuarios</span></a></li>
		  <li><a href="<?php echo $url;?>/Tipotrabajos/index"><span>Tipos Trabajos</span></a></li>
		   <li><a href="<?php echo $url;?>/Sucursales/index"><span>Sucursales</span></a></li>
      
        </ul>
  </div>
      <!-- /header -->
      
      <hr class="noscreen" />
      
     <?php echo $this->Session->flash(); ?>
	<?php echo $content_for_layout; ?>
      
      <hr class="noscreen" />
    
      <!-- Footer -->
      <div id="footer" class="box">
    <p class="f-left">&copy; <?php echo date('Y')?> <a href="#">GENERAL INTERNATIONAL</a>, Todos Los Derechos Reservados &reg;</p>
    <p class="f-right">Creado por <a href="http://www.atotic.com/">Atotic</a></p>
  </div>
      <!-- /footer --> 
      
    </div>
<!-- /main -->
	<?php //echo $this->element('sql_dump'); ?>
</body>
</html>
